package com.joshua.spring.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * description
 * package com.joshua.spring.com.joshua.spring.gateway
 * classname  GatewayApplication
 *
 * @author <a href="mailto:joshualwork@163.com">joshua_liu</a>
 * @date 2020/2/9 12:16
 */
@EnableScheduling
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.joshua.spring.gateway.**"})
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
